package Mydictionary;

/**
 * 实体类
 */
public class MyDictionary {
    private int id;
private  String chinese;
private  String english;
private  String comments;

    @Override
    public String toString() {
        return "MyDictionary{" +
                "id=" + id +
                ", chinese='" + chinese + '\'' +
                ", english='" + english + '\'' +
                ", comments='" + comments + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getChinese() {
        return chinese;
    }

    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    public String getEnglish() {
        return english;
    }

    public void setEnglish(String english) {
        this.english = english;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public MyDictionary(int id, String chinese, String english, String comments) {
        this.id = id;
        this.chinese = chinese;
        this.english = english;
        this.comments = comments;
    }


}
